using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Easislides
{
	public class FrmRegister : Form
	{
		private IContainer components = null;
		private Button BtnCancel;
		private Button BtnOK;
		private RichTextBox lblRegister;
		public FrmRegister()
		{
			this.InitializeComponent();
		}
		private void FrmRegister_Load(object sender, EventArgs e)
		{
			this.lblRegister.Text = "EasiSlides Version 4.0.5 is provided free of charge and for your indefinite use provided you abide by the End User Licence Agreement (EULA).  \r\n\r\nIf you intend to use this software on an on-going basis, you are invited to register your use of the software by clicking on the 'Register' button below which will take you to the EasiSlides Registration Page at http://www.easislides.com/register \r\n\r\nRegistration is voluntary and is free of charge.  The registration information you provide will help us to monitor the spread of use of EasiSlides around the world.";
			this.lblRegister.SelectionStart = 0;
			this.lblRegister.SelectionLength = 0;
		}
		private void BtnOK_Click(object sender, EventArgs e)
		{
			gf.RunProcess("http://www.easislides.com/register");
		}
		private void lblRegister_LinkClicked(object sender, LinkClickedEventArgs e)
		{
			gf.RunProcess(e.LinkText);
		}
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmRegister));
			this.BtnCancel = new Button();
			this.BtnOK = new Button();
			this.lblRegister = new RichTextBox();
			base.SuspendLayout();
			this.BtnCancel.DialogResult = DialogResult.Cancel;
			this.BtnCancel.Location = new Point(272, 199);
			this.BtnCancel.Name = "BtnCancel";
			this.BtnCancel.Size = new Size(80, 24);
			this.BtnCancel.TabIndex = 2;
			this.BtnCancel.Text = "Close";
			this.BtnOK.Location = new Point(176, 199);
			this.BtnOK.Name = "BtnOK";
			this.BtnOK.Size = new Size(80, 24);
			this.BtnOK.TabIndex = 1;
			this.BtnOK.Text = "Register...";
			this.BtnOK.Click += new EventHandler(this.BtnOK_Click);
			this.lblRegister.Location = new Point(12, 12);
			this.lblRegister.Name = "lblRegister";
			this.lblRegister.Size = new Size(340, 181);
			this.lblRegister.TabIndex = 0;
			this.lblRegister.Text = "";
			this.lblRegister.LinkClicked += new LinkClickedEventHandler(this.lblRegister_LinkClicked);
			base.AcceptButton = this.BtnOK;
			base.AutoScaleDimensions = new SizeF(6f, 13f);
			base.AutoScaleMode = AutoScaleMode.Font;
			base.ClientSize = new Size(366, 234);
			base.Controls.Add(this.BtnCancel);
			base.Controls.Add(this.BtnOK);
			base.Controls.Add(this.lblRegister);
			base.FormBorderStyle = FormBorderStyle.FixedDialog;
			base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
			base.MaximizeBox = false;
			base.MinimizeBox = false;
			base.Name = "FrmRegister";
			base.StartPosition = FormStartPosition.CenterScreen;
			this.Text = "Register Use of EasiSlides";
			base.Load += new EventHandler(this.FrmRegister_Load);
			base.ResumeLayout(false);
		}
	}
}
